import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import axios from 'axios'
import VCharts from 'v-charts'
import 'v-charts/lib/style.css'
import Qs from 'qs'
import Print from 'vue-print-nb'

Vue.use(Print);  //注册打印组件

Vue.config.productionTip = false
// axios 配置全局
axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';
Vue.prototype.$axios = axios
// 注册Qs
Vue.prototype.$Qs = Qs;
// 注册element UI
Vue.use(ElementUI)
// 注册词云图
Vue.use(VCharts)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
